package thinkingJava.chapter05;
import static util.Print.*;
class Mug {
	Mug(int marker) {
		print("Mug(" + marker + ")");
	}
	void f(int marker) {
		print("f(" + marker + ")");
	}
}
public class Mugs {
	Mug m1;
	Mug m2;
	{
		m1 = new Mug(1);
		m2 = new Mug(2);
		print("m1 & m2 initialization");
	}
	Mugs() {
		print("Mugs()");
	}
	Mugs(int i) {
		print("Mugs(" + i + ")");
	}
	public static void main(String[] args) {
		print("Inside main");
		new Mugs();
		print("new Mugs() completed");
		new Mugs(1);
		print("new Mugs(1) completed");
	}
}
